package com.silverbox.shopper.entity;

import java.io.Serializable;

/**
box_category
 */
public class Category implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -6518448609846052870L;

	/**
     */
    private Long id;

    /**
     * 类别深度
     */
    private Integer deep;

    /**
     * 类别名称
     */
    private String name;

    /**
     * 父类别id
     */
    private Long parentId;

    /**
     * 商家id
     */
    private Integer shopperId;

    /**
     * 类别顺序
     */
    private Integer sortIndex;

    /**
     */
    private String uid;

    /**
     */
    private String guid;

    /**
     * 是否折扣 0否 1是 (弃用)
     */
    private Integer isDiscount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDeep() {
        return deep;
    }

    public void setDeep(Integer deep) {
        this.deep = deep;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    public Integer getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(Integer isDiscount) {
        this.isDiscount = isDiscount;
    }
}